//
//  AppleMapsView.m
//  apple_maps
//
//  Created by os on 3/7/25.
//

#import "AppleMapsView.h"
#import "MapsView.h"

@implementation AppleMapsView{
    MapsView * _view;
}

//在这里只是创建了一个自定义的view
-(instancetype)initWithWithFrame:(CGRect)frame viewIdentifier:(int64_t)viewId arguments:(id)args binaryMessenger:(NSObject<FlutterPluginRegistrar> *)messenger{
    if ([super init]) {
        _view = [[MapsView alloc] initWithFrame:frame viewIdentifier:viewId arguments:args registrar:messenger];
    }
    return self;
    
}


- (nonnull UIView *)view {
    return _view;
}

@end
